﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CMS.BLL;

public partial class news_msn_UpdateBussinessProfileListState : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string stock = Request["stock"];
        DateTime endDate = DateTime.Parse(Request["enddate"]);
        YearProfileBLL bll = new YearProfileBLL();
        var c = bll.GetOne(stock, endDate);
        c.ModTime = DateTime.Now;
        c.BussinessProfileListFlag = true;
        bll.Update(c);
        ClientScript.RegisterStartupScript(GetType(), "aa", "alert('设置成功');document.location='Default.aspx'", true);
    }
}